import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
// vuex只把数据存在内存中，刷新就没了
export default new Vuex.Store({
	state: {
		result:[]
	},
	mutations: {
		setResult(state,payload){
			state.result = payload
		}
	},
	actions: {
	},
	modules: {
	}
})
